/**
 * 翻译者类，即适配器对象
 * @author liaosh
 * @date 2022-10-18 23:29
 */
public class Translator extends BasketBallPlay {

    private ForeignCenter center;

    public Translator(String name) {
        center = new ForeignCenter();
        center.setName(name);
    }

    @Override
    void attack() {
        center.foo_attack();
    }

    @Override
    void detack() {
        center.foo_detack();
    }
}
